package jdmx.library.da;

import java.util.ArrayList;

public class Sorter {
	private ArrayList<SorterField> fields;
	
	public Sorter() {
		fields = new ArrayList<SorterField>();
	}
	
	public void addField(String fieldName, String direction) {
		fields.add(new SorterField(fieldName, direction));
	}
	
	public ArrayList<SorterField> getFields() {
		return fields;
	}
	
	public void clear() {
		fields.clear();
	}
}

